<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div id="app">
    <!-- 取值，则取到value -->
    <ul>
        <li v-for="item in info">{{item}}</li>
    </ul>  
    <!-- 取值，则取到value和key -->
    <ul>
        <li v-for="(value,key) in info">{{value}}-{{key}}</li>
    </ul>  
    <!-- 取值，则取到value和key和index -->
    <ul>
        <li v-for="(value,key,index) in info">{{value}}-{{key}}-{{index}}</li>
    </ul> 

</div>

<script src="../js/vue.js"></script>
<script>
     const app = new Vue({
        el: '#app',
        data: {      
            info: {
                name: "why",
                age: 18,
                height: 1.88
            }
            
        }
    })
</script>

</html>    